package www.dianbaozu.com.ui.my

import android.view.View
import com.netease.nim.uikit.api.NIMHelper
import dagger.hilt.android.AndroidEntryPoint
import www.dianbaozu.com.R
import www.dianbaozu.com.databinding.FragmentModifyPhoneStep3Binding
import www.wen.com.common.lib.base.fragment.BaseVMFragment
import www.wen.com.common.lib.extension.resetStartDestination
import www.wen.com.common.lib.util.SpUtil

/**
 * @author WEN
 * @Description: 修改手机
 * @date 2020//25 17:48
 */
@AndroidEntryPoint
class ModifyPhoneStepThirdFragment : BaseVMFragment<FragmentModifyPhoneStep3Binding>(), View.OnClickListener{

    override fun isEnableLoadingHelper(): Boolean = false

    override fun getLayoutId(): Int = R.layout.fragment_modify_phone_step_3

    override fun lazyInitView() {}

    override fun onClick(v: View) {
        NIMHelper.logout()
        SpUtil.clearAll()
        requireActivity().resetStartDestination(R.navigation.navigation, R.id.loginFragment)
    }


}



